import java.util.Random;
import java.util.Arrays;

public class vj {
    public static void main(String[] args) {
                Random rd = new Random();
                int[] red = new int[6];
                int num;
                int i = 0;
                outer: while (i < red.length) {
                    num = rd.nextInt(33) + 1;
                    for (int j = 0; j < red.length; j++) {
                        if (red[j] == num) {
                            continue outer;
                        }
                    }
                    red[i] = num;
                    i++;
                }
                // 随机一个蓝号
                int blue = rd.nextInt(16) + 1;

                // 打印结果
                System.out.println("红号：" + Arrays.toString(red) + "；\n蓝号：" + blue);
            }
        }



